package com.jrx.anytxn.customer.dto.creditinfo;

import com.jrx.anytxn.customer.dto.BaseApiReq;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 *  授信请求的封装对象
 *  @author Qingyao Xing
 * @date 2019/7/18 12:03
 */
public class CreditApprovalReq extends BaseApiReq implements Serializable {
    private static final long serialVersionUID = -2604362477656904778L;

    /**
     * 授信信息列表
     */
    @Valid
    @NotNull( message = "授信请求中授信信息列表creditInfoList不能为空")
    private List<CreditInfoReq> creditInfoList;



    public List<CreditInfoReq> getCreditInfoList() {
        return creditInfoList;
    }

    public void setCreditInfoList(List<CreditInfoReq> creditInfoList) {
        this.creditInfoList = creditInfoList;
    }
}
